package cn.jjxx.modules.eas.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.eas.mapper.EasTOrgBaseunitMapper;
import cn.jjxx.modules.eas.entity.EasTOrgBaseunit;
import cn.jjxx.modules.eas.service.IEasTOrgBaseunitService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 金碟组织表
 * @Description: 金碟组织表
 * @author yw
 * @date 2022-03-18 13:12:13
 * @version V1.0   
 *
 */
@Transactional
@Service("easTOrgBaseunitService")
public class EasTOrgBaseunitServiceImpl  extends CommonServiceImpl<EasTOrgBaseunitMapper,EasTOrgBaseunit> implements  IEasTOrgBaseunitService {

	@Override
	public boolean insertBatch(List<EasTOrgBaseunit> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<EasTOrgBaseunit> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
